package util;

import cn.hutool.http.HttpStatus;

/**
 * @author NAME-L
 * @Description 统一返回结果编码
 * @className ReturnStatus
 * @date 2021-11-18 16:36:48
 */
public class ReturnStatus extends HttpStatus {
    /**
     * 操作成功
     */
    public static final String SUCCESS = "200";

    /**
     * 参数异常
     */
    public static final String CREATED = "201";

    /**
     * 拒绝访问
     */
    public static final String NOT_ALLOW = "401";

    /**
     * 权限不足
     */
    public static final String FORBIDDEN = "403";

    /**
     * 请求超时
     */
    public static final String TIMEOUT = "408";

    /**
     * 操作失败
     */
    public static final String DO_FAILED = "500";

    /**
     * 网关异常
     */
    public static final String HTTP_UNAVAILABLE = "503";

    /**
     * 网关异常
     */
    public static final String 	GATEWAY_TIMEOUT = "504";

    /**
     * 登录过期
     */
    public static final String NO_LOGIN = "800";

    /**
     * 系统异常
     */
    public static final String ERROR  = "901";


}
